import { viteMockServe } from 'vite-plugin-mock'

export const setupMockjs = (command: string) => {
   return viteMockServe({
      mockPath: 'mock',
      localEnabled: command == 'serve'
   })
}
